/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.team1160.beta.season2011.api;

/**
 * This interface conatins important variables such as the relay, pwm, DIO, and
 * analog channels of key hardware componenets like motors, solenoids, etc
 * @author sakekasi
 */
public interface Constants {

    //input channels
    public static final int JOYSTICK_PORT=1;
    public static final int ANALOG_POTENTIOMETER=1;
    public static final int DIGITAL_KICKER=2;

    //output

    //leds in the control board
    public static final int DO_LED_CAM_LEFT=2;
    public static final int DO_LED_CAM_CENTER=4;
    public static final int DO_LED_CAM_RIGHT=6;
    public static final int DO_DRIBBLER=8;

    //pwm channels for drive motors
    public static final int PWM_MOTOR_LEFT_BACK=1;
    public static final int PWM_MOTOR_LEFT_FRONT=2;
    public static final int PWM_MOTOR_RIGHT_BACK=3;
    public static final int PWM_MOTOR_RIGHT_FRONT=4;

    //solenoid channels for the kicker
    public static final int SOLENOID_POWER_FRONT=2;
    public static final int SOLENOID_POWER_BACK=1;
    public static final int SOLENOID_LATCH_FRONT=4;
    public static final int SOLENOID_LATCH_BACK=3;

    //channels for the compressor
    public static final int RELAY_COMPRESSOR=1;
    public static final int DIO_SWITCH=1;
}

